package com.itheima.protocol.zkClient;

import org.I0Itec.zkclient.ZkClient;

public class CreateSession {

    private final static String CONNECTIONSTRING="192.168.1.108:2181";
    private final static int SESSIONTIMEOUT = 5000;

    public static void main(String[] args) {

        ZkClient zkClient = new ZkClient(CONNECTIONSTRING, SESSIONTIMEOUT);
        System.out.println(zkClient + "-->"+"success");

    }
}
